#if !defined(AFX_DETAILSVIEW_H__9CEDACB6_0C20_4F43_B44B_ED7B5A25C8DE__INCLUDED_)
#define AFX_DETAILSVIEW_H__9CEDACB6_0C20_4F43_B44B_ED7B5A25C8DE__INCLUDED_

#include <afxrich.h>

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DetailsView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// DetailsView view

class DetailsView : public CRichEditView
{
protected:
	DetailsView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(DetailsView)

// Attributes
public:

// Operations
public:
  void ShowDetails(int nIndex);

private:
  int  AppendText(LPCTSTR strText, CHARFORMAT cf);
  void ClearRecContents();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DetailsView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~DetailsView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
protected:
	//{{AFX_MSG(DetailsView)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DETAILSVIEW_H__9CEDACB6_0C20_4F43_B44B_ED7B5A25C8DE__INCLUDED_)
